import java.util.Random;
/**
 * @author nnelson
 *
 */
public class Player {
	
	byte intelligence, strength, speed, wisdom, constitution, agility = 8;
	int xPos, yPos = 0; //position in the world, can be negative, 0,0 is centre of map
	byte currentLevel = 1;
	
	Player(){
		Random statGen = new Random();
		intelligence += statGen.nextInt(6);
		strength += statGen.nextInt(6);
		speed += statGen.nextInt(6);
		wisdom += statGen.nextInt(6);
		constitution += statGen.nextInt(6);
		agility += statGen.nextInt(6);
	}
	
	
	/*AP = action points, performing actions lowers this
	you can do anything while AP is positive
	*/
	int AP = 0; 
	
	/*
	 * will check what is on the space specified by vector coordinates
	 * and either move or return a value indicating why movement is not possible
	 *  - or call attack method from here if monster found rather than returning a value
	 *  	to calling method and calling attack from there?
	 *  Returns:
	 *  0 = moved into wall -move fail
	 *  1 = moved successfully -move success
	 *  2 = moved into monster -move fail
	 */
	public int move(int x, int y){ //stub//
		return 0;
	}
	
	public void myTurn(){
		AP = this.speed;
	}
}
